home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CAsianPalaceMesh
- {
- string MeshFile = "Models/B_Asian_6.mesh";
- string SkinFile = "Models/B_Asian_6.skin";
- }
-
- class CAsianPalaceStateControl extends CUnitLifeControl
- {
- void CAsianPalaceStateControl()
- {
- CUnitLifeControl(2500.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseAsianPalace extends CBuilding, CUnitWithStateControl
- {
- void CBaseAsianPalace()
- {
- InitializeModelAsStatic("CAsianPalaceMesh");
- CUnitWithStateControl("CAsianPalaceStateControl");
- }
- }
-
- // Single game object
- class CMountedAsianPalace extends CBaseAsianPalace
- {
- void CMountedAsianPalace()
- {
- InitializeGroundControl();
- }
- }
-
-